<div id="menu-column">
	
		<div align="center">
			<img src="/images/spanner1.png">

		</div><!-- End logo -->
			
		<div id="menu">	
			<ul>
				<li><%= link_to 'Home', "/index.html" %></li>
				<% if !@page.pageName.nil? %>
				<li class="selected"><a href="/<%=h @page.categoryNameUrl %>/<%=h @page.pageNameUrl %>.html"><%= @page.pageName %></a></li> 
					<ul>
						<li><%= link_to 'Keywords', :controller => 'pages', :action => 'edit', :id => @page %></li>
						<li><%= link_to 'Large Images', :controller => 'pages', :action => 'editlarge', :id => @page %></li>
						<li><%= link_to 'Catalog Images', :controller => 'pages', :action => 'editimages', :id => @page %></li>
						<li><%= link_to 'Text Images', :controller => 'pages', :action => 'edittextimage', :id => @page %></li>
						<li><%= link_to 'Edit Content', :controller => 'pages', :action => 'editcontent', :id => @page %></li>


						<% if @page.categoryNameUrl != "index" %>
							<li><%= link_to 'Delete', @page, :confirm => 'Are you sure? Will delete subpages!', :method => :delete %></li>
						<% end %>
					</ul>
				<% end %>
				<li><%= link_to 'New Category', newcat_url %></li>
				<li><%= link_to 'New Page', newpage_url %></li>
				<li><%= link_to 'Sideboxes', "/sidebox/index" %></li>
			</ul>
		</div><!-- End menu -->
</div><!--End menu-column-->